home *** CD-ROM | disk | FTP | other *** search
- on pictButton theSprite
- set theCast to the castNum of sprite theSprite
- repeat while the stillDown
- if rollOver(theSprite) then
- set the castNum of sprite theSprite to theCast + 1
- updateStage()
- next repeat
- end if
- set the castNum of sprite theSprite to theCast
- updateStage()
- end repeat
- if rollOver(theSprite) then
- set the castNum of sprite theSprite to theCast + 1
- updateStage()
- return 1
- else
- set the castNum of sprite theSprite to theCast
- updateStage()
- return 0
- end if
- end
-
- on doMenuPress x
- spriteBox(16, the left of sprite x, the top of sprite x, the right of sprite x, the bottom of sprite x)
- updateStage()
- set the locH of sprite 16 to 1000
- end
-